package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 短信发送结果
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_SMS_SEND_RESULT")
public class IgSmsSendResult extends Model<IgSmsSendResult> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("SMS_SEND_RESULT_ID")
    private String smsSendResultId;

    /**
     * 短信类型为监督类型
     */
    @TableField("SMS_ID")
    private String smsId;

    /**
     * 发送次数
     */
    @TableField("SEND_COUNT")
    private Double sendCount;

    /**
     * 反馈信息
     */
    @TableField("FEEDBACK_INFO")
    private String feedbackInfo;

    /**
     * 发送日期
     */
    @TableField("SEND_DATE")
    private LocalDateTime sendDate;

    /**
     * 是否发送成功
     */
    @TableField("IS_SUCCESS")
    private Integer isSuccess;


    public String getSmsSendResultId() {
        return smsSendResultId;
    }

    public IgSmsSendResult setSmsSendResultId(String smsSendResultId) {
        this.smsSendResultId = smsSendResultId;
        return this;
    }

    public String getSmsId() {
        return smsId;
    }

    public IgSmsSendResult setSmsId(String smsId) {
        this.smsId = smsId;
        return this;
    }

    public Double getSendCount() {
        return sendCount;
    }

    public IgSmsSendResult setSendCount(Double sendCount) {
        this.sendCount = sendCount;
        return this;
    }

    public String getFeedbackInfo() {
        return feedbackInfo;
    }

    public IgSmsSendResult setFeedbackInfo(String feedbackInfo) {
        this.feedbackInfo = feedbackInfo;
        return this;
    }

    public LocalDateTime getSendDate() {
        return sendDate;
    }

    public IgSmsSendResult setSendDate(LocalDateTime sendDate) {
        this.sendDate = sendDate;
        return this;
    }

    public Integer getIsSuccess() {
        return isSuccess;
    }

    public IgSmsSendResult setIsSuccess(Integer isSuccess) {
        this.isSuccess = isSuccess;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.smsSendResultId;
    }

    @Override
    public String toString() {
        return "IgSmsSendResult{" +
        "smsSendResultId=" + smsSendResultId +
        ", smsId=" + smsId +
        ", sendCount=" + sendCount +
        ", feedbackInfo=" + feedbackInfo +
        ", sendDate=" + sendDate +
        ", isSuccess=" + isSuccess +
        "}";
    }
}
